<template>
    <div>
        <h1>下载</h1>
        <el-table :data="list" stripe style="width: 100%">
      <!-- <el-table-column align="center" prop="collect_id" label="id" width="180"></el-table-column> -->
      <el-table-column align="center" prop="downloding_date" label="日期" width="180"></el-table-column>
      <el-table-column align="center" prop="user_downloding_record_id" label="下载记录"></el-table-column>
      <!-- <el-table-column align="center" prop="collect_text" label="收藏单名"></el-table-column> -->
      <el-table-column align="center" prop="downloding_state" label="下载状态">
           <template slot-scope="scope">
          <span>{{scope.row.collect_state === 0 ? '网络下载' : '流量下载'}}</span>
        </template>
      </el-table-column>
    </el-table>
    </div>
</template>
<script>
export default {
  data() {
    return {
      list: this.$route.params.onload,
    };
  },
};
</script>